package com.gitee.wsl.common.ui.draw.type

enum class TextAlignment {
    TopLeft, TopCenter, TopRight,
    MiddleLeft, MiddleCenter, MiddleRight,
    BottomLeft, BottomCenter, BottomRight
}

/**
 * The text-anchor attribute is used to horizontally align ([LEFT], [MIDDLE] or [RIGHT]-alignment) a string of
 * text relative to a given point.
 * See [CSS text-anchor][https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-anchor]
 */
enum class TextHAlign {
    LEFT,
    MIDDLE,
    RIGHT,
}

/**
 * Vertical alignment of a text
 */
enum class TextVAlign {
    HANGING,
    MIDDLE,
    BASELINE
}


